import http from "@/utils/request_user";
import http_admin from "@/utils/request_admin";

export const billPage = (params)=>{
    return http_admin.get('bill/page',params)
}
export const userBillPage = (params) =>{
    return http.get('bill/user_page',params)
}

export const addBill = (params ) =>{
    return http_admin.post('bill/save',params)
}
export const delBill = (params) =>{
    return http_admin.delete('bill/del',params)
}
//退房
export const celRoom = (params) => {
    return http.post('/bill/cel_room',params)
}